package com.qyer.commons.persistence;

import com.qyer.commons.exception.DBException;
import com.zaxxer.hikari.HikariDataSource;

/**
 * User: Z J Wu Date: 2015/09/25 Time: 17:47 Package: com.qyer.dsp.db
 */
public interface DBResourceManager {

  void destroy();

  long heartbeat() throws DBException;

  HikariDataSource getDataSource();

}
